package com.xuanwu.ai.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuanwu.ai.flow.dto.FlowDataReqDTO;
import com.xuanwu.ai.flow.dto.FlowDataResDTO;
import com.xuanwu.ai.flow.model.FlowData;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface FlowDataMapper extends BaseMapper<FlowData> {
    List<FlowDataResDTO> getFlowDataList(FlowDataReqDTO flowDataReqDTO);

    FlowDataResDTO getFlowDataByRequestId(String requestId);
}
